body,
ul,
h1,
h2,
h3,
h4,
h5,
h6,
p,
li {
    margin: 0;
    padding: 0;
}

[v-cloak] {
    display: none;
}

.chat-box {
    display: flex;
}

.contact-box {
    /* width: 220px; */
    padding: 20px;
    border-right: 1px solid #999999;
    height: 100vh;
    overflow: hidden auto;
    box-sizing: border-box;
}

.contact-box::-webkit-scrollbar {
    width: 2px;
}

.avatar {
    display: block;
    width: 50px;
    height: 50px;
}

.contact-list {
    padding-top: 10px;
}

.contact-item {
    display: flex;
    padding: 10px 20px;
    margin: 0 -20px;
    cursor: pointer;
}

.contact-item.avtive {
    background-color: #F9F9F9;
}

.contact-item .content-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-left: 10px;
}

.contact-item .info-box {
    flex: 1;
    display: flex;
    justify-content: space-between;
}

.contact-item .info-box .username {
    flex: 1;
    font-size: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    color: rgba(32, 29, 29, 0.90);
}

.contact-item .hot-news {
    font-size: 14px;
    width: 140px;
    color: rgba(32, 29, 29, 0.60);
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}


.contact-item .info-box .time-box {
    font-size: 14px;
    color: rgba(32, 29, 29, 0.30);
}

.msg-box {
    overflow-x: hidden;
    overflow-y: auto;
    height: 68vh;
    padding: 20px;
    padding-top: 0;
    box-sizing: border-box;
    background-color: #F9F9F9;
}

.msg-box .msg-item {
    display: flex;
    margin-top: 10px;
}

.msg-box .msg-item .msg-info {
    max-width: 40%;
    margin: 0 10px;
}

.msg-box .msg-item .msg-content {
    border-radius: 10px;
    background-color: #fff;
    padding: 6px 10px;
    margin-top: 8px;
}


.msg-box .msg-item.my {
    flex-direction: row-reverse;
}

.msg-box .msg-item.my .username {
    text-align: right;
}

.msg-box .msg-item.my .msg-content {
    background-color: white;
}



.msg-box::-webkit-scrollbar {
    /*滚动条整体样式*/
    width: 6px;
    /*高宽分别对应横竖滚动条的尺寸*/
    height: 1px;
}

.msg-box::-webkit-scrollbar-thumb {
    /*滚动条里面小方块*/
    border-radius: 10px;
    background-color: #aaa;
}

.msg-box::-webkit-scrollbar-track {
    /*滚动条里面轨道*/
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}


.chat-room-box {
    flex: 1;
}

.chat-room-box .chat-top-box {
    padding: 10px;
    padding-right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-room-box .chat-top-box .logout {
    cursor: pointer;
}

.user-box {
    display: flex;
    align-items: center;
}

.user-box .avatar {
    margin-right: 20px;
}

.send-msg {
    text-align: right;
    border-top: 1px solid #ccc;
    padding: 10px;
}

.send-msg .send-tisp {
    font-size: 12px;
    margin-right: 10px;
    color: rgba(32, 29, 29, 0.30);
}

.send-msg .text {
    width: 100%;
}

.send-msg .text .el-textarea__inner {
    border: none;
}

.badge-box .el-badge__content.is-fixed {
    right: 0;
    -webkit-transform: translateY(-50%) translateX(20%);
    transform: translateY(-50%) translateX(20%);
}

.my-loading .el-loading-spinner i,
.my-loading .el-loading-spinner .el-loading-text {
    color: #F56C6C;
}